﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class Shop : NPC
    {
        private string weapon;//武器

        public string Weapon
        {
            get{ return this.weapon; }
            set { this.weapon = value; }
        }
        public Shop(string name, NPCtype type, string weapon) : base(name, type)
        {
            this.weapon = weapon;
        }

        public override void Speak()
        {
            Console.WriteLine("你需要锻造什么武器？ NPC：{0} 武器名：{1}",base.Name, this.weapon);
        }
    }
}
